import request from 'utils/request'
export function userlogin({ mobile, code }) {
    return request({
        url: '/v1_0/authorizations',
        method: 'POST',
        data: { mobile, code }
    })
}
export function channelslist() {
    return request({
        url: '/v1_0/channels'
    })
}
export function getArticles(params) {
    return request({
        url: '/v1_0/mp/articles',
        method: 'get',
        params,
    })
}
export function removeList(id) {
    return request({
        url: '/v1_0/mp/articles/' + id,
        method: "DELETE"
    })
}